#ifndef NAVIGATEBAR_H
#define NAVIGATEBAR_H

#include <QObject>
#include <QWidget>

const double TRANSPARENCY_DEFAULT = 0.75;
class NavigateBar : public QWidget
{
    Q_OBJECT
public:
    explicit NavigateBar(QWidget *parent = nullptr);
    void changeTrans(double trans);
protected:
    void paintEvent(QPaintEvent *event) override;
signals:
private:
    double m_tran = TRANSPARENCY_DEFAULT;
};

#endif // NAVIGATEBAR_H
